-- GENERATED SPELL FOR [Corrupted Scarlet Onslaught] --


function spell0_29400(pUnit, Event) --@Flesh Rip,n/a--
pUnit:FullCastSpellOnTarget(38056,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29400', 15000, 1)
end

function Sorts_29400(pUnit, Event)
local choix_sorts_29400 = math.random(0, 0)
if choix_sorts_29400 == 0 then
pUnit:RegisterEvent('spell0_29400', 1, 1)
end
end

function mob29400_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29400', math.random(1500, 3000), 1)
end

function mob29400_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29400_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29400_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29400, 1, 'mob29400_Action')
RegisterUnitEvent(29400, 2, 'mob29400_Leave')
RegisterUnitEvent(29400, 3, 'mob29400_Kill')
RegisterUnitEvent(29400, 4, 'mob29400_Die')
